package com.fanshilz.flower2025.business.flower.projectRecord.entity;

import com.fanshilz.flower2025.business.flower.project.entity.CreateUserTypeEnum;
import com.fanshilz.flower2025.framework.mybatisflex.BaseEntity;
import com.fanshilz.flower2025.framework.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 线索跟进记录 实体类。
 *
 * @author fugui
 * @since 2024-10-30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "flower_project_record", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class ProjectRecord extends BaseEntity {

    @Id(keyType = KeyType.Auto)
    private Long recordId;

    private Long projectId;

    private String recordContent;

    private CreateUserTypeEnum createUserType;

}
